.Net Framework > v2.0.50727 > System > ServiceProcess > ServiceBase ServiceBase
Category
Class
Description
Provides a base class for a service that will exist as part of a service application. System.ServiceProcess.ServiceBase must be derived from when creating a new service class.
Assembly
System.ServiceProcess
Character
public
Attributes
NameValue/Assignment
InstallerTypeAttribute
Ancestors
Component > MarshalByRefObject > Object
Contstructors
ServiceBase()
Properties
AutoLog
CanHandlePowerEvent
CanHandleSessionChangeEvent
CanPauseAndContinue
CanShutdown
CanStop
EventLog
ExitCode
ServiceHandle
ServiceName
Methods
Dispose(Boolean)
OnContinue()
OnCustomCommand(Int32)
OnPause()
OnPowerEvent(PowerBroadcastStatus)
OnSessionChange(SessionChangeDescription)
OnShutdown()
OnStart(String[])
OnStop()
RequestAdditionalTime(Int32)
Run(ServiceBase)
Run(ServiceBase[])
ServiceMainCallback(Int32,IntPtr)
Stop()
Fields
MaxNameLength
Tags
0103E2B958, 02E3ABA98D, 0376596F91
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database